<?php

namespace App\Livewire\Components;

use Livewire\Component;

class Tag extends Component
{
    public function render()
    {
        $tags = [(object)['id' => 1, 'name' => 'laravel'], (object)['id' => 1, 'name' => 'thinkphp'], (object)['id' => 1, 'name' => 'hyperf']];
        return view('livewire.components.tag', [
            'tags'         => $tags,
        ]);
    }
}
